//获取应用实例
const app = getApp()
Page({
	data: {
		imgpath:app.setting.apiimgpath,
		activityList:{}
	},
	onLoad:function(){
		var that = this;	
		//活动列表
		app.request('/api/Seller/getActiveList', {}, function(res){
			if(res.code == '0'){
				//更新数据
				that.setData({
					activityList:res.data
				});
			}
		});	
	},
	onShareAppMessage(res){
		return{
			title:'四海唐人街-活动列表',
			path:'/pages/activitylist/activitylist',
			imageUrl:'/images/44.jpg'
		}
	}
})